package com.sky.demo;

import org.realogic.cfm.plugin.Plugin;
import org.realogic.cfm.plugin.PluginDefinition;

/**
 * DEMO-插件初始器
 * 
 * @author chenkq
 * 
 */
public class DemoPlugin implements Plugin {

	public boolean isAllowStartup(PluginDefinition aPlugin) {
		if ("1".equals(aPlugin.getPluginProperty("demo.enabled"))) {
			return true;
		} else {
			return false;
		}
	}

}
